/**
 * Creat by TanLei
 * Description:
 * User:86183
 * Date:2022-06-16
 * Time:13:51
 */
public class CarDemo1 {
    public static void main(String[] args) {
        Car car = new Car();
        car.run();

    }

    static class Car {


        public void run() {
            FrameWork frameWork = new FrameWork();
            frameWork.run();
        }
    }

    static class FrameWork {


        public void run() {
            Bottom bottom = new Bottom();
            bottom.run();
        }
    }

    static class Bottom {


        public void run() {
            Tire tire = new Tire();
            tire.run();
        }
    }

    static class Tire {
        private int size = 15;


        public void run() {
            System.out.println("轮胎的尺寸是：" + size);
        }
    }
}